import {request} from  './axios'

export class Api{
    static async getApi(url,params){
        return request(url,params,"GET")
    }
    static async postApi(url,params){
        return request(url,params,"POST")
    }
}